package com.tsing.wms.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.tsing.wms.entity.OrderEntity;
import com.tsing.wms.vo.PageResultVO;
import com.tsing.wms.vo.req.IdReqVO;
import com.tsing.wms.vo.req.IdsReqVO;
import com.tsing.wms.vo.req.OrderReqVO;
import com.tsing.wms.vo.req.SupplierPageReqVO;
import com.tsing.wms.vo.resp.GoodsListRespVO;
import com.tsing.wms.vo.resp.OrderRespVO;

import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
import java.util.List;

/**
 * <p>
 * 订单表 服务类
 * </p>
 *
 * @author TheTsing
 * @since 2022-04-13
 */
public interface IOrderService extends IService<OrderEntity> {

    List<GoodsListRespVO> goodsList(IdReqVO reqVO);

    void addOrder(OrderReqVO reqVO, HttpServletRequest request);

    void deleteOrder(IdsReqVO reqVO, HttpServletRequest request);

    OrderRespVO getOrder(IdReqVO reqVO);

    void updateOrder(OrderReqVO reqVO, HttpServletRequest request);

    PageResultVO<OrderRespVO> orderPage(SupplierPageReqVO reqVO, HttpServletRequest request);

    void exportOrder(IdReqVO reqVO, HttpServletRequest request, HttpServletResponse response);

}
